package com.itlaobing.array;

/**
 * 【废话少说，放码过来】
 */
public class LogicTest {

	public static void main(String[] args) {
		
		boolean x = true ;
		boolean y = true ;
		
		boolean a = false ;
		boolean b = false ;
		System.out.println( ( x = a ) && ( y = b ) ); // false
		System.out.println( x ); // true
		System.out.println( y ); // true
		
		System.out.println( 100 % 2 );
		System.out.println( 100.0 % 0 ); // NaN : Not a Number
		System.out.println( -100.0 / 0 ); // -Infinity
		
	}

}
